import request from '../../utils/request'

// 分页查询
export function materialPageList(data: object) {
  return request({
    url: '/material/materialPageList',
    method: 'post',
    data: data
  })
}
export function updateClassify(data: object) {
    return request({
      url: '/material/updateClassify',
      method: 'post',
      data: data
    })
  }

  export function deleteMenu(id: Number) {
    return request({
      url: '/sys/deleteMenu/'+id,
      method: 'get'
    })
  }  